#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char *argv[]) {
	printf("%5d\n",6);
    printf("%12lf\n",123.456);
	printf("%+d\n",5);
	printf("%+d\n",-5);
	printf("%.3lf",123.4567);
	printf("%12.2lf\n",123.456);
	printf("%*.*lf\n",12,2,123.456);
	printf("%.5s\n","hello world");
	
	return 0;
}
